<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
    <h5>首页</h5>
    {% if perms.front.add_article %}
        <a href="{% url 'addarticle' %}">添加文章</a>
    {% endif %}
    {% if perms.front.add_user %}
        <a href="{% url 'addarticle' %}">添加用户</a>
    {% endif %}
</body>
</html>